package com.prct;

import com.prct.FlyBehaviour;
import com.prct.QuackBehaviour;


public abstract class Duck
{

	public FlyBehaviour fb;
	public QuackBehaviour qb;

	public void performQuack()
	{
		qb.quack();
	}
	
	public void performFly()
	{
		fb.fly();
	}
	public void swim()
	{
		System.out.println("Hey buddy  I can Float Yipee !!!!!");
	}
	public abstract void  display();
}
	